import request from '@/utils/request'


export function getPager(data) {
  return request({
    url: '/staffManagement/getPager',
    method: 'POST',
    data,
  })
}

export function doAdd(data) {
  return request({
    url: '/staffManagement/doAdd',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/staffManagement/doEdit',
    method: 'POST',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/staffManagement/doDelete',
    method: 'POST'
  })
}
